#include <iostream>
#include <string>
#include <sstream>

using namespace std;

int main(){
	//variable
	string mystring;
	float price;
	int quantity;
	float total;
	//processing
	cout << "Enter price: ";
	getline(cin,mystring);
	stringstream(mystring) >> price;
	cout << "Enter quatity: ";
	getline(cin, mystring);
	stringstream(mystring) >> quantity;
	total = price * quantity;
	cout << "Total price: " << total << endl;

	return 0;
}